<%-- 
    Document   : login
    Created on : 21.02.2013, 21:17:29
    Author     : Artem
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <title>JSP Page</title>
    </head>
    <body>
        <h3>Login</h3>

        <hr/>
        <jsp:useBean id="currentUser" scope = "session" class = "com.bionic.entity.Users" />
        id=<jsp:getProperty name="currentUser" property="id"/> 
        firesName= <jsp:getProperty name="currentUser" property="firstName"/>
        <hr/>
        <form name="loginForm" method="POST" action="/DExchange/Controller">
            <input type="hidden" name="command" value ="login"/>
            Login:<br/>
            <input type="text" name="login" value =""> <br/>
            Password:<br/>
            <input type="password" name ="password" value="">
            <br/>
            <input type ="submit" value="Enter">

            <%@ include file="navbar.jsp" %>   
            <%@ include file="debugInfo.jsp" %>

        </form>
        <hr/>
    </body>
</html>